package someclass;
public class Movie {
    private String movieName;
    private String movieYear;
    private String movieDirector;
    private String movieRating;
    public Movie(String name,String year,String director,String rating){
        this.movieName=name;
        this.movieYear=year;
        this.movieDirector=director;
        this.movieRating=rating;
    }
    public String getMovieName(){
        return movieName;
    }
    public String getMovieYear(){
        return movieYear;
    }
    public String getMovieDirector(){
        return movieDirector;
    }
    public String getMovieRating(){
        return movieRating;
    }
}
